This scenario demonstrates how to display a different image resource based on the user's current localization, scale and accessibility settings.

Windows fully supports localization, scale, and accessibility for web images and packaged text and images. Web servers can take advantage of these features by returning specific images depending on the variables encapsulated in a query string. Packaged images and text use the Resource Management System and require no further changes than what your application already does for localization, scale, and accessibility.
For web images, add the optional boolean attribute addImageQuery to the image, binding, or visual node to have Windows automatically append query strings. The query strings are appended to the image URL provided in the notification payload when the image is requested from the image service. The image service used should respond with the appropriate image based on the parameters supplied in the query string.

To test what query string will be appended to image URLs, you can easily change the current settings of your system.

Scale

"Make it easier to read" in the ease of access page in PC Settings

High Contrast

"High Contrast Theme" in the ease of access page in PC Settings

View the current settings of your PC and preview the query string:





Send tile notifications with packaged resources: